FROM python:3

WORKDIR /usr/src/app

COPY requirements.txt ./
COPY weather.py ./

RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --no-cache-dir -r requirements.txt

ENTRYPOINT [ "python" ]
